package com.sxx.mallAuth.feign;

import com.sxx.commons.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Auther: sunxx
 * @Date: 2024/8/15 - 08 - 15 - 14:07
 * @Description: com.sxx.mallAuth.feign
 * @version: 1.0
 */
@FeignClient("mall-third")
public interface ThirdPartFeignService {

    @GetMapping("/sms/sendCode")
    public R sendSmsCode(@RequestParam("phone")String phone, @RequestParam("code")String code);
}
